package org.codetranslators.compiler.tiger.abssyntree;

public class FieldList extends Absyn {
	
	private Symbol name;
	private Symbol typ;
	private FieldList tail;
	private boolean escape = true;
	
	public FieldList(int p, Symbol n, Symbol t, FieldList x) 
	{
		pos = p; 
	    name = n; 
	    typ = t; 
	    tail = x;
    }
	
	public Symbol getName()
	{
		return name;
	}
	
	public Symbol getTypeSymbol()
	{
		return typ;
	}
	
	public FieldList getNextFieldList()
	{
		return tail;
	}
   
   
}
